
var init = {
    gameID: 215792,
    channel: 'Matchvs',
    platform: 'alpha',
    appKey: '993868b9403649359627ad239e2a2910#C',
    verdion: 1,
}

var userInfo = {
    userID: '',
    token: '',
    userName:'',
}

var createRoomInfo = {
    //这里的数据名字不能出错，必须和API上面的一模一样，不然会找不到
    roomName: null,
    maxPlayer: 3,
    mode: 1,
    canWatch: 1,
    visibility: 1,      //之前一直得不到房间信息是因为 visibility 打错了
    roomProperty: null,
}

var filter = {
    //这里的数据名字不能出错，必须和API上面的一模一样，不然会找不到
    maxPlayer: 3,
    mode: 1,
    canWatch: 0,
    roomProperty: null,
    full: 0,
    state: 0,
    sort: 0,
    order: 0,
    pageNo: 0,
    pageSize: 1,
    getSystemRoom: 2, 
}

var roomInfo = {
    roomID: '',
    roomName: null,
}

module.exports = {
    init: init,
    userInfo: userInfo,
    createRoomInfo: createRoomInfo,
    filter: filter,
    roomInfo: roomInfo,
}